<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_name" class="form-control" name="row[shop_name]" type="text" value="{$row.shop_name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_user')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_user" class="form-control" name="row[shop_user]" type="text" value="{$row.shop_user|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_mobile" class="form-control" name="row[shop_mobile]" type="text" value="{$row.shop_mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_passwd')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_passwd" class="form-control" name="row[shop_passwd]" type="text" value="{$row.shop_passwd|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-shop_image" class="form-control" size="50" name="row[shop_image]" type="text" value="{$row.shop_image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-shop_image" class="btn btn-danger plupload" data-input-id="c-shop_image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-shop_image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-shop_image" class="btn btn-primary fachoose" data-input-id="c-shop_image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-shop_image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-shop_image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_2image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-shop_2image" class="form-control" size="50" name="row[shop_2image]" type="text" value="{$row.shop_2image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-shop_2image" class="btn btn-danger plupload" data-input-id="c-shop_2image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-shop_2image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-shop_2image" class="btn btn-primary fachoose" data-input-id="c-shop_2image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-shop_2image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-shop_2image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_3image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-shop_3image" class="form-control" size="50" name="row[shop_3image]" type="text" value="{$row.shop_3image|htmlentities}">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-shop_3image" class="btn btn-danger plupload" data-input-id="c-shop_3image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="false" data-preview-id="p-shop_3image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-shop_3image" class="btn btn-primary fachoose" data-input-id="c-shop_3image" data-mimetype="image/*" data-multiple="false"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-shop_3image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-shop_3image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Persion_consume')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-persion_consume" class="form-control" name="row[persion_consume]" type="number" value="{$row.persion_consume|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Star_class')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-star_class" class="form-control" name="row[star_class]" type="number" value="{$row.star_class|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tags')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tags" class="form-control" name="row[tags]" type="text" value="{$row.tags|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-description" class="form-control" name="row[description]" type="text" value="{$row.description|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-address" class="form-control" name="row[address]" type="text" value="{$row.address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_phone" class="form-control" name="row[shop_phone]" type="text" value="{$row.shop_phone|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Business_hour')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-business_hour" class="form-control" name="row[business_hour]" type="text" value="{$row.business_hour|htmlentities}">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('店铺类别')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-shop_type" class="form-control selectpicker" name="row[shop_type]">
                {foreach name="shopTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.shop_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
